package com.hzjy.manage.vo;

import com.hzjy.common.annotation.Excel;
import com.hzjy.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 行业资讯（新闻）对象 hzjy_trade_news
 *
 * @author hzjy
 * @date 2020-08-14
 */
public class HzjyTradeNews extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long tradeNewsId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 简介 */
    @Excel(name = "简介")
    private String synopsis;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态【0：待展示，1：展示中】 */
    @Excel(name = "状态【0：待展示，1：展示中】")
    private Long state;

    /** 分类 */
    @Excel(name = "分类")
    private Long type;

    /** 简介图 */
    @Excel(name = "简介图")
    private String image;

    /** 新闻顺序 */
    @Excel(name = "新闻顺序")
    private Long newsOrder;

    /** 查看次数 */
    @Excel(name = "查看次数")
    private Long seeNum;

    public void setTradeNewsId(Long tradeNewsId)
    {
        this.tradeNewsId = tradeNewsId;
    }

    public Long getTradeNewsId()
    {
        return tradeNewsId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setSynopsis(String synopsis)
    {
        this.synopsis = synopsis;
    }

    public String getSynopsis()
    {
        return synopsis;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setState(Long state)
    {
        this.state = state;
    }

    public Long getState()
    {
        return state;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setImage(String image)
    {
        this.image = image;
    }

    public String getImage()
    {
        return image;
    }
    public void setNewsOrder(Long newsOrder)
    {
        this.newsOrder = newsOrder;
    }

    public Long getNewsOrder()
    {
        return newsOrder;
    }
    public void setSeeNum(Long seeNum)
    {
        this.seeNum = seeNum;
    }

    public Long getSeeNum()
    {
        return seeNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("tradeNewsId", getTradeNewsId())
                .append("title", getTitle())
                .append("synopsis", getSynopsis())
                .append("content", getContent())
                .append("createTime", getCreateTime())
                .append("state", getState())
                .append("type", getType())
                .append("image", getImage())
                .append("newsOrder", getNewsOrder())
                .append("seeNum", getSeeNum())
                .toString();
    }
}
